import { api } from '../api';

export const getIcon = async (filenames: string[]) => {
  try {
    const response = await api.get('/java/oss/get_fIcon', {
      params: {
        filename: filenames,
      },
    })
    return response.data;
  }
  catch (error) {
    throw new Error("获取图片失败");
  }
}
